Next, host computer decode the received infrared code using some related algorithm. Finally it realizes the detection through comparing the received infrared remote controller button codes with the existing correct code using good man& machine conversation interface. 上位机根据接收的红外码编写算法进行解码,通过友好的人机交互图形界面将接收到的红外码与已有正确编码进行比较,实现对红外遥控器的检测。